package com.sftz.assets.entities;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Comment;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

@Data
@Table("series_courses")
public class SeriesCoursesEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	@Id(auto = true)
	private Integer id;

	@Column
	@Comment("机构Id")
	private Integer insititutionId;

	@Column
	@Comment("名称")
	private String name;

	@Column
	@Comment("封面")
	private String cover;

	@Column
	@Comment("状态(上架，下架等)")
	private Integer status;

	@Column
	@Comment("创建人的id")
	private Integer userid;

	@Column
	@Comment("排列顺序")
	private Integer ord = 0;

	@Column
	@Comment("学分")
	private Float score;

	@Column
	@Comment("创建时间")
	private Date createDate;

	@Column
	@Comment("简介")
	private String intro;

	@Column
	@Comment("是否收费")
	private Integer charge;

	@Column
	@Comment("原价")
	private Double originalPrice;

	@Column
	@Comment("实际价格")
	private Double actualPrice;

	@Column
	@Comment("详情")
	private String details;

	@Column
	@Comment("报名人数")
	private Integer studyNum;

	@Column
	@Comment("分类的id")
	private Integer typeId;

	@Column
	@Comment("是否删除")
	private Integer isDelete;

}